﻿@model MvcAtletIS.Models.Performances

@{
    ViewBag.Title = "Zobraziť prihlášku";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zobraziť prihlášku</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">Disciplína</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DisciplineList.Name)
    </div>

    <div class="display-label">Meno</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">Priezvisko</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>

    <div class="display-label">Dátum narodenia</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Birthdate)
    </div>

    <div class="display-label">Klub</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Club)
    </div>

    <div class="display-label">Krajina</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Countries.Name)
    </div>

    
</fieldset>
<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na editor prihlášok", "Index", new { CompetitionId = Model.DisciplineList.CompetitionId, DisciplineListId = Model.DisciplineListId })
</p>
